﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace CCBIntegrationService
{
    [ServiceContract]
    public interface IVerificaOS
    {
        [OperationContract]
        bool GetOsComPrazoExperirado();

        [OperationContract]
        bool GetOsComVencimentoParaHoje();

        [OperationContract]
        bool GetOsComVencimentoParaUmaSemana();
    }

    [DataContract]
    public class OsDados
    {
        [DataMember]
        public int idOs { get; set; }

        [DataMember]
        public string codigo { get; set; }

        [DataMember]
        public Nullable<System.DateTime> dataCriacao { get; set; }

        [DataMember]
        public Nullable<System.DateTime> dataPrazo { get; set; }

        [DataMember]
        public string AdmOut { get; set; }

        [DataMember]
        public string titulo { get; set; }

        [DataMember]
        public string texto { get; set; }

        [DataMember]
        public int IdSetorOut { get; set; }
    }
}
